package jwr.basic;

public class J02_Math2Java {
	public static void main(String args[]){
		int x = 4;
		int z = 3;
		int y = 2;
		int s = 7;
		int v = 5;
		int g = 5;
		int t = 2;
		int num1 = 3*x;
		int num2 = 3*x+y;
		int num3 = (x+y)/7;
		int num4 = (3*x+y)/(z+2);
		int num5 = s = s+(v*t)+(1/2*g*t*t);
		
		System.out.println("3x = "+num1);
		System.out.println("3x+y = "+num2);
		System.out.println("(x+y)/7="+num3);
		System.out.println("(3*x+y)/(z+2) = "+num4);
		System.out.println("s=s+vt+1/2gt^2 = "+num5);
		
	}
}
